/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Business;

import java.util.Date;

/**
 *
 * @author anhvtn_b00545
 */
public class Bill_BS {

    private int bID;
    private int cID;
    private String cName;
    private Date bDeliveryDate;
    private String bDeliveryAddress;
    private float bDiscount;
    private float bPaid;
    private float bUnpaid;
    private float total;
    private String bDate;
    private int bStatus;

    public Bill_BS(int bID, String cName, Date bDeliveryDate, String bDeliveryAddress, String bDate, int bStatus) {
        this.bID = bID;
        this.cName = cName;
        this.bDeliveryDate = bDeliveryDate;
        this.bDeliveryAddress = bDeliveryAddress;
        this.bDate = bDate;
        this.bStatus = bStatus;
    }


    public Bill_BS() {}

    public Bill_BS(int id, Date bDeliveryDate, String bDeliveryAddress, float discount, float pay, float balance, String orDate,  int bStatus) {
        this.cID = id;
        this.bDeliveryDate = bDeliveryDate;
        this.bDeliveryAddress = bDeliveryAddress;
        this.bDiscount = discount;
        this.bPaid = pay;
        this.bUnpaid = balance;
        this.bDate = orDate;
        this.bStatus = bStatus;
    }

    public Bill_BS(int bID, String cName, Date bDeliveryDate, String bDeliveryAddress, float paid, float unpaid, float discount, String bOrderDate, int bStatus) {
        this.bID = bID;
        this.cName = cName;
        this.bDeliveryDate = bDeliveryDate;
        this.bDeliveryAddress = bDeliveryAddress;
        this.bPaid = paid;
        this.bUnpaid = unpaid;
        this.bDiscount = discount;
        this.bDate = bOrderDate;
        this.bStatus = bStatus;
    }

    public Bill_BS(int bID, String cName, Date bDeliveryDate, String bDeliveryAddress, float paid, float unpaid, String bOrderDate, int bStatus) {
        this.bID = bID;
        this.cName = cName;
        this.bDeliveryDate = bDeliveryDate;
        this.bDeliveryAddress = bDeliveryAddress;
        this.bPaid = paid;
        this.bUnpaid = unpaid;
        this.bDate = bOrderDate;
        this.bStatus = bStatus;
    }

    public Bill_BS(Date datePay, String name, float paid, float unpaid, int status) {
        throw new UnsupportedOperationException("Not yet implemented");
    }

    public Bill_BS(int bId, String name, Date bDeliveryDate, float paid, float unpaid, int status) {
        this.bID = bId;
        this.cName = name;
        this.bDeliveryDate =  bDeliveryDate;
        this.bPaid = paid;
        this.bUnpaid = unpaid;
        this.bStatus = status;
    }


    public int getBID(){return bID;}
    public void setBID(int bID){this.bID = bID;}

    public int getCID() {return cID;}
    public void setCID(int cID) {this.cID = cID;}

    public String getCName() {return cName;}
    public void setCName(String cName) {this.cName = cName;}

    public Date getBDeliveryDate() {return bDeliveryDate;}
    public void setBDeliveryDate(Date bDeliveryDate) {this.bDeliveryDate = bDeliveryDate;}

    public String getBDeliveryAddress() {return bDeliveryAddress;}
    public void setBDeliveryAddress(String bDeliveryAddress) {this.bDeliveryAddress = bDeliveryAddress;}

    public float getBDiscount() {return bDiscount;}
    public void setBDiscount(float bDiscount) {this.bDiscount = bDiscount;}

    public float getBPaid() {return bPaid;}
    public void setBPaid(float bPaid) {this.bPaid = bPaid;}

    public float getBUnpaid() {return bUnpaid;}
    public void setBUnpaid(float bUnpaid) {this.bUnpaid = bUnpaid;}

    public String getBdate() {return bDate;}
    public void setBdate(String bDate) {this.bDate = bDate;}

    public int getBStatus() {return bStatus;}
    public void setBStatus(int bStatus) {this.bStatus = bStatus;}

    public void setTotal(float total) {
        this.total = total;
    }
    public float getTotal() {
        return total;
    }
}
